package com.wjj.dao.repository;

import com.wjj.dao.po.ClassPO;
import java.util.List;

/**
 * @Description
 * @Author junjun Wang
 * @Date Create in 20:08 2023/12/7
 **/
public interface ClassRepository {

	/**
	 * Get Classes
	 *
	 * @return
	 */
	List<ClassPO> getClasses();

	/**
	 * Get Class By class ID
	 *
	 * @param classId
	 * @return
	 */
	ClassPO getClassById(Integer classId);

	/**
	 * Add class
	 *
	 * @param classes
	 * @return
	 */
	Boolean addClass(List<ClassPO> classes);

	/**
	 * Update  class
	 *
	 * @param classPO
	 * @return
	 */
	Integer updateClass(ClassPO classPO);

	/**
	 * Delete class By classId
	 *
	 * @param classId
	 * @return
	 */
	Integer deleteClassById(Integer classId);
}
